package com.qidianit.mes.sys.mapper;

import com.qidianit.mes.pojo.Supplier;

import java.util.List;

public interface SupplierMapper {
    //查询供应商
    List<Supplier> querySupplierList(Supplier supplier);

    //查询单个供应商
    Supplier queryByCode(String code);

    //添加
    int addSupplier(Supplier supplier);

    //更新
    int UpdateById(Supplier supplier);

    //删除单个
    int delete(Long id);

    //批量删除
    int batchDelete(Long[] ids);
}
